Skip to content

Filter cameras by path group visibility#109

Open
sbca68aiassistant wants to merge 1 commit into
rosteleset:mainfrom
sbca68aiassistant:feat/entrance-camera-filter
Open

Filter cameras by path group visibility#109
sbca68aiassistant wants to merge 1 commit into
rosteleset:mainfrom
sbca68aiassistant:feat/entrance-camera-filter

Conversation

@sbca68aiassistant

@sbca68aiassistant sbca68aiassistant commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add visibleForFlats to camera path groups via houses_paths.house_path_visible_for_flats
  • expose the field in houses/path API and in the house camera group UI
  • inherit empty child-group visibility from the nearest parent group
  • filter house cameras in getAddressList, cctv/all, and cctv/allTree before URL/token generation

Tests

  • docker run --rm -v "$PWD":/app -w /app php:8.1-cli php -l ... for changed PHP files
  • node --check client/modules/addresses/houses.js
  • python3 -m json.tool client/modules/addresses/i18n/ru.json
  • python3 -m json.tool client/modules/addresses/i18n/en.json
  • python3 -m json.tool server/data/install.json
  • git diff --check
  • smoke-test for path visibility filtering/parsing

@sbca68aiassistant sbca68aiassistant force-pushed the feat/entrance-camera-filter branch from cf76baa to b9da30b Compare June 25, 2026 07:40
@sbca68aiassistant sbca68aiassistant changed the title Filter entrance cameras by flat access Filter cameras by flat visibility Jun 25, 2026
@sbca68aiassistant sbca68aiassistant force-pushed the feat/entrance-camera-filter branch from b9da30b to 969bd1a Compare June 25, 2026 12:32
@sbca68aiassistant sbca68aiassistant changed the title Filter cameras by flat visibility Filter cameras by path group visibility Jun 25, 2026
@sbca68aiassistant sbca68aiassistant force-pushed the feat/entrance-camera-filter branch from 969bd1a to 999ae54 Compare June 25, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant